package com.butang.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

/**
 * ClassName: AliOSSProperties
 * Package: com.butang.utils
 * Description:
 *
 * @Author BuTang
 * @Create 2023/7/13 18:00
 * @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOSSProperties {
    //区域
    private String endpoint ;
    //身份ID
    private String accessKeyId;
    //身份密钥
    private String accessKeySecret;
    //存储空间
    private String bucketName;
}
